Sets our main struct and passes it to the parent class.
Creates a new AdwWindow.
Get the main Gtk struct
Gets the content widget of @self.
the main Gtk struct as a void*
You should use setContent(Widget) instead
Sets the content widget of @self.
the main Gtk struct
A freeform window.
<picture> <source srcset="window-dark.png" media="(prefers-color-scheme: dark)"> <img src="window.png" alt="window"> </picture>
The AdwWindow widget is a subclass of [class@Gtk.Window] which has no titlebar area. It means [class@Gtk.HeaderBar] can be used as follows:
Using [method@Gtk.Window.get_titlebar] and [method@Gtk.Window.set_titlebar] is not supported and will result in a crash.